import service from "@/utils/request";

export function getCourseListService(params) {
  return service({
    url: "/course/list",
    method: "get",
    params,
  });
}

export function getCourseDetailService(courseId) {
  return service({
    url: "/course/detail",
    method: "get",
    params: { courseId },
  });
}

export function submitForReviewService(courseId) {
  return service({
    url: "/course/submitForReview",
    method: "put",
    params: { courseId },
  });
}

